package com.ziyucoding.springboot.labs.springwebsocket.message;

/**
 * 用户认证请求
 *
 * @author ziyucoding
 * @date 2023-07-16
 **/
public class AuthRequest implements Message {

    public static final String TYPE = "AUTH_REQUEST";

    /**
     * 认证 Token
     */
    private String accessToken;

    public String getAccessToken() {
        return accessToken;
    }

    public AuthRequest setAccessToken(String accessToken) {
        this.accessToken = accessToken;
        return this;
    }


}
